/*	
 *	This file is part of eduDES.
 *
 *	Copyright 2009 Michael Morckos <mikey.morckos@gmail.com>
 *
 *	eduDES is free software: you can redistribute it and/or modify
 *	it under the terms of the GNU General Public License as published by
 *	the Free Software Foundation, either version 3 of the License, or
 *	(at your option) any later version.
 *
 *	eduDES is distributed in the hope that it will be useful,
 *	but WITHOUT ANY WARRANTY; without even the implied warranty of
 *	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *	GNU General Public License for more details.
 *
 *	You should have received a copy of the GNU General Public License
 *	along with eduDES.  If not, see <http://www.gnu.org/licenses/>.
 */
 
#ifndef _key_h_
#define _key_h_

#include <stdlib.h>
#include <string.h>
#include <stdio.h>

unsigned char *orig_key,
			  *curr_key,
			  *C_key,
			  *D_key,
			  *final_key;						

void init_key_en(unsigned char*);
void init_key_de(unsigned char*);
void applyPC_1();
void applyPC_2();
void splitkey();
void shiftkey(short);
void mergekey(); 
void closekey(); 

#endif

